cleaned up crack function, can now crack known lengths greater than one
completed problem 6: guess key length