Program Capacity and Learning