updated deletion of charecters using backspace, added input of point using keyboard