Homework done and tested