Added list_items() and get_input() functions and included full documentation
Changed arithmetic