Understanding and solving fraction word problems