Added $ to second parameter for mul and div. Stopped infinite recursion ...

These are some small changes I made to help things compile and run. I added a set in BackEnd.cpp to keep track of blocks we have already visited so we don't try to visit them twice.