Updated lab2 code, started with network