Computer science homework