Add action for computing intersection
update git ignore
Refactoring the Cube class