Added gotoLine method.

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