Added functionality

Added functionality according to the requirements, as well as a menu for
adding data, printing data, printing costs, and exiting.