this is a project I worked on for a while before starting unity. I guess I should share this for the 2 people who care.