Updated compile script to create arm assembly, and cleaned code a bit