added functions to Point struct. started implementing intersection theory