Paper2Code: Automating Code Generation from Scientific Papers