Updated picker to use new priority to determine order of pieces to pick. Added tests for piecemap and piece.