box and box proximity atoms function locator finished and tested

finished getinsideAtoms and getOutsideAtoms