[POPL Seg 2] Added unit tests for the CORE language
[VIGR Prac 3] Added HDR generating matlab function