added error checking for file, can't change original board input, and added error correcting for inputting out of bound values