error was in my sample input, not my logic. successkid.jpg