Update LocationUtils.java

Added comments to the code.