Edited my block of code to return -1 instead of  the "Number Not Found"