finish problem2a