gui for lab1 - lab3