Python version of ECS170 Assignment 3 to recognize males and females.