compile single labs

Wrote a script that would compile any lab.  It is designed to make
testing/writing labs easier.  The code is ugly, but it works.  Maybe
later I will clean it up and make it more readable (famous last words).