ran astyle
Basic simulation working. Although some of the patterns aren't making sense