Methods in Programming: Understanding Return Values