Fixing simulation logic

- Checking if marks received for a module are not lower than passing
minimum