got algos working with random input, currently on runs the nearest algo, exhaustive done already