some calculating added to main.c
Revert "some calculating added to main.c"

This reverts commit 914cb1d346322b6fc62ec3789abf1ab7505d32ae.

Hichi
Simple main.c completed
Solved?