Password Validator solution which was presented as a technical test - 25/04/2014