Rewrote several sections in Scala

Sections rewritten:
- structures.Vector2d
- structures.Point2d
- structures.Star
- graphics.TrailEffect (now a Scala object instead of static final class)
- graphics.WarpDrawer (also a Scala object)
- graphics.GravityVectors effect (also a Scala object)