update read and show functions
update class name
update class name
update main function
re-format code
add input size limitation