magic blocks programming interview problem