Conditional command rough sketch code.

Added some code to try out some general conditional type commands. What
I have written is to be thoroughly tested before I could trust it on the
competition field. Email me if there are any questions or concerns.