Caret learns how to move left and right and how to delete characters before itself

Caret#move_left()
Caret#move_right()
Caret#delete_before()