fixed syntax error in homeworkExample