added getPos method
bitpuzzle namespace to class