Second programming assignment for CS100 @ UCSD