Implemented Lab 1, Task 1