A markov model for drug compliance with application to HIV+ patients