fixed all bugs, finished ex7, lab2 done