Simple credit calculator. Study project