Added makefile for building on linux

fixed typing mistake in tree.h