Added unit tests for HashMap.
Introduced IllegalArgumentException in StringReverse#reverse method