Initial version of solution 1
Finalized solution for q1 using a depth param internally
Added solution for q2
Solution to q3
Solution for q1 and q2
Added solution for q3 and q4