Problem description and tests:
https://code.google.com/codejam/contest/dashboard?c=6254486#s=p1
$ mkdir -p $GOPATH/github.com/xrkhill/pancakes/
$ go run main.go < B-small-practice.in
$ go run main.go < B-small-practice.in > B-small-practice.out
$ go test github.com/xrkhill/pancakes/flipit