The final project of introduction to electrical engineering C, written by dorm x13-504