added the other operations and modified test accordingly
added fraction and whole recognition routines and more tests