Major Improvements

Added a struct cd_type and typedef in header file
Renamed output() to print_cd(), created new function read_cd()
Added various other functions such as read_string(),read_float(),
read_int(), yesno(), enter() and trim_line()