Program that is read in accepts and returns an int. It works completely now.