UVA-Problem Volume 1. 101 The Blocks Problem