Added gotoLine method to jump to the line.

Signed-off-by: Basuke Suzuki <basuke@mac.com>