finish project

TODO : performance ( must be like 200 times faster, eliminate lists or
smth )