Implemented validatePosition for SmallPheromone

Implemented the method validatePosition for the SmallPheromone class.
Wrote a JUnit test for this method. (passed)