Schema Based Learning For Problem Solving