Added stub function and makefile stuff for inplace_mergesort.
Added 0 return value to silence warnings due to function not being implemented yet.
Now exiting with error if required env settings are not set.
Fixed swap condition which was reversed and swapping not copying final value from temp.