func positionsOverlap(position Position, positions []Position) bool {
	for i := 0; i < len(positions); i++ {
		if positionOverlap(position, positions[i]) {
			return true
		}
	}
	return false
}
//Checks if there is a collision between Position and all positions in positions
Checks if there is a collision between Position and all positions in positions
// Checks if there is a collision between Position and all positions in positions
func positionsOverlap(position Position, positions []Position) bool {
	for i := 0; i < len(positions); i++ {
		if positionOverlap(position, positions[i]) {
			return true
		}
	}
	return false
}
func positionsOverlap ( position Position , positions [ ] Position ) bool { for i := 0 ; i < len ( positions ) ; i ++ { if positionOverlap ( position , positions [ i ] ) { return true } } return false }
Checks if there is a collision between Position and all positions in positions
Checks if there is a collision between Position and all positions in positions