Assignment 2 - Bugfixes os_exec

Added missing os_leaveCriticalSection
Fixed stack initialization