Algorithm Speed Up

1.1) 
TODO: Move at compute_map creation to speed things up.
1.2)
Remove the copy of view_of and viewed_by by doing like in the compute_map. 
1.3) 
Transform the generator to recursive function. (remove much list creating/concatenation and speed up the implementation.)