Added Hard Problem's solution for lessons 3 and 4.