Commiting the first 2 exercises of list #4 for Algorithms and Programming 2.