#13 initial commit
#13 refactorund. added extra case
#13 corrected