categorizes shapes based off user input