simple script to calculate taxes of good with certain input