Remove GOTO Statement

Since gotos aren't universally supported, use multiple return statements
instead. Fixes #4.