Includes changes for Problem 3 (the hexagon)