Added painter class to handle terminal writing
Restructured entity,
Created common position obj,
Restructured table
using c++11 random generator, swapping old functions with c++11