Create getmonitor

Programming assignment 1, part 1.