This is the final result. It might look simple, but this is the building block for a lot of algorithms.
Great work!