worked on char/int input. Using temp to test out functions to use in main program