pub fn get_mid(a: u64, b: u64) -> u64
Auxiliary function to calculate the middle value between provided u64 numbers