Makefile for sprite class
Fixed semantic errors, made class cleaner, better error handling and stuff