Comment updates, added pragma once
Added completely untested go impl.