First homework for internet programming