Solution for mobilecloud-14-Asgn1