modify assembler and algorithm
Merge branch 'master' of https://github.com/ecosoft/cse430-project
assembler is checked and it's correct.