M/G/1 Queues Using Markov Chains and LSTs