Implemented the pegboard data structure

- Added pegboard data structure, as well as some basic functions
  to work with them.
- Started a basic test script. Can only do black-box testing.