Revert "Write solutions to problems 1 and 2 and fix test case for problem 2"

This reverts commit 4da3ea9ff3d31192936ab66fedf775212b474770.
Solutions to problem 1 and 2 and partial work on problem 3