Added CMakeLists file
Make it compile on linux. Problems were:
  _ Some overloading function are missing, instead I make a variable to use the current defined functions
  _ max/min definition