Solving 1st task using 2 different approaches
Added more documentation