solved first assignment