Created java file to compute encyrpted passwords