For this program I am looking for it to not draw if it detects it will overlap with another rectangle. What is the simplest way to solve this or the best formula to do this?