Finished writing assignment #2