Fixed testTargetsFourSteps, rebuilt checkAdjacency
Added checkDoor function