Fix a panic when doing 0g
Created by: DurgaMa
Fixes the first panic in #37
There's two ways to do it, either go to the first line, or to the last line. I chose to go to the last line, as this is vim's behaviour, but it can be fixed easily. There is also some rustfmt changes.