Completed challenge 11 (rewrote chomp)