There's not much I can help out with across the internet. You'll need someone to give you hands-on advice and help in person. If this is a university project, you should consult your professor. They may have microcontrollers for you to use.
The Basic Stamp 2 is relatively simple to use since you basically just program a set of input pins and output pins. So, high level pseudo code would look like this:
Code:
loop indefinitely:
if pin 0 is high then
set pin 16 high
else
set pin 16 low
if pin 1 is high then
set pin 17 high
else
set pin 17 low
.
.
.
Spend some time looking over the information in the link I provided in a previous post. I really can't be of much more help. At this point, you need someone to help you out in person.