Initial commit of loopy.go

Working version.