The History of Polish Legal System from the 10th to the 20th century