last part of assignments for Rubylearning