replace 3d lab

use while loop
Merge branch 'master' of https://github.com/lokkersp/hlabs