Emulator of the BitGrid, implemented in Delphi