Now used matrix wolrd for shelves positioning
Solved all the issues with adding book into the shelves