prove vactor and stack and it'spractice

including the queen question and calculating using stack