Added BasicSpatialAlgorithm
An inefficient spatial algorithm for testing any others.