This is the solved assignment