UPDATE: Renamed class and changed code to reflect assignment specification