use List instead of ArrayList; closes #4
cleaned up the for-loop, now uses foreach structure
fixed return value for isLocationEmpty; closes #6