This may be handled simply with a geometric series. Let $P$ be the amount invested every year, $i$ be the interest rate, and $N$ be the number of years of the investment period. Then treat each investment at the beginning of the year separately. Thus, the sum $S$ is
$$S = P\left (1+i\right)^n + P\left (1+i\right)^{n-1} + \cdots P\left (1+i\right)$$
This assumes that we are evaluating the sum at the end of a year. Using the formula for a geometric series, I get
$$S=P \left(1+i\right) \frac{\left(1+i\right)^n-1}{i} $$
Plug in $P=\$7000$, $i=0.07$, $n=25$. I get $S \approx \$ 473735$.