Character deletion passing tests

Resolves #10 , #9 
Use a guard clause instead of wrapping the code inside a conditional expression.