code for assignments from computing science classes