simple spelling corrector server, written on scala