Some random code i wrote though college