swapped x,y positions for lights

To match assumptions of assignment
changed assembling of depths