Fixing some errors in the bounding box calculation
Using first corner instead of the center of the mask (in order to make it easer to locate the object in the scene)
Update README, explanation of the steps
Added #ifndef
Fixed some segmentation faults (it is more robust)
Refactoring the code (TODO: remove global variables).
Note: for some reason the mouse handler functions cannot be in another file (like utils.cpp)