Amazon Interview Question

First part contained simple debugging questions such as missing semi-colons and such