Student uses Snapchat’s gender filter to bust pervert cop