Free agent forward Patrick Marleau signs three-year deal with Maple Leafs