Fixed a few magic numbers in Lab1