updated bugs list in README.md and fixed some code for better functionality in exec.cpp