finished pallet search methods in Database.java
finished pallet search methods in Database.java