The function takes a numerical input and returns either -1 or 1. 

