Redirected stderr to a file
Updated makefile