Amazon interview question 1 of 3
merge with Ver's push yesterday. silly github...