solution for smu hackathon 2014