Finite capacity single server queue with exponential arrivals and general distributed service (M/G/1/N)