Screw with file I/O to get append to work. Now it doesn't like using parameters of ostream type.
Export main menu switch statement to order() function