Fixing syntax errors
Adding solution to lecture 1