Notes added
iterative solution added
space complexity notes added