Optimal Bed Utilisation and Patient Flow within a hospital using real time patient flow