Added queue basics

No error check supported yet