Fixed two more bugs.

The assignment operator wasn't written properly, so I fixed it. It works
now. The GoToEnd and GoToPrev functions also crashed the program when
the list was empty. Fixed.