added in basic pen tool functionality, bezier tool is still broken