Fixed compile errors

This error caused trouble and frustration for one of my students. Going forward we should always check if code that has being committed, actually compiles!