Curves of genus 3