Added type check, value check, and list

Exercise 2: added input checks and create list made up of each
individual input character