simpler Makefile, (hopefully) implemented operator [] for constant access