Add Home and End key

Add the home and end keys to move to the begining and end of the line.