fixed the bug in lab4 (somehow) and started lab5