Fix #4 and is almost an middle step to #8
Improve the concat function and create a makefile for travis