un-commented out some code
fixed whitespace issues and deleted unnecessary print statements