Add project infrastructure

Signed-off-by: Krzysztof Opasiak <ups100@tlen.pl>
Add First phase of algorithm (counting pairs)

Signed-off-by: Krzysztof Opasiak <ups100@tlen.pl>