finished the homework assignment for whacky

finished whacky