adding ps1 solutions and lecture 4 code