Made exception class, made a makefile