Added comments and fixed myor
Added td2
Added check function
Implemented queens procedure