placeLabels function

Place labels in boxes