A copy of my code for Q-learning can be gotten here Q-learning
A copy of my lempel-ziv code can be found here
In regards to the Fuzzy logic exam, though he has the solutions for '10 and '11 up on his website, here is another link that has the solutions to '09 and '08 just in case. The CS exam was apparently similar to the '08 exam so you never know!