Lab6: Forgot to commit initial changes
Lab6: Commit changes

implement several todos, not sure if intersect function is correct