Tabular and Deep Reinforcement Learning for Gittins Index