finished Java Arduino communication for Bin packing