Solved first 7 problems