Split out missing number from find number. Added test conditions and revised code to resolve errors from tests.