Java Source Code of the WSN-based localization system