Wrote point class that uses shorts instead of default ints to reduce memory footprint of program.