Some Sample Program I wrote for CareerCup 150