int_to_bin function now takes an int string instead of int & main updated to final form & preparing for error handling