Algorithms I Problems and Sample Code