Added run.sh, fixed bugs in stage 2

Signed-off-by: Archit Shukla <archishukla2@gmail.com>
Fixed a bug in gen.py and completed dictionary in mapperStg3

Signed-off-by: Archit Shukla <archishukla2@gmail.com>