made most methods in translator private because they are not necessary.
wrote tests for the rest of translator.