add error correction and colors, fix makefile