Added the code to detect the jar peripherals adjacent to the computer and store in an array