* implemented first version of the packing algorithm, next step unit
test