Created inputCheck() function, some tests still not working