solved first 4 exercises