add alternative solution prob-4-11