A simple alorithm written in java to emulate phone's t9 functionality!