Added backspace support. Need to design test cases for strings