do not flush output
wip - try to make java and go code (sequence) look more similar
add GPL disclaimer to top of .go file
wip - try to make java and go code look more similar