block overlapping

added function which checks if block is already placed