Lear to Program: The Fundamentals. Assignment 2