A town in Wales wants to stop people from having sex in public toilets and they've found some tech-savvy ways to make sure it doesn't happen.