initialize Space objects with x and y coordinates