Adding partial solution for Problem 2

Does not work properly for all test cases (eg. no correct shift key
found)