This is my school teamwork  code by:xs  in .net 4.5