Be warned: what you want to do is not possible in "just software" at all, it requires hardware as well, and would almost certainly be illegal in most countries.
It certainly is in the UK:
http://stakeholders.ofcom.org.uk/enforcement/spectrum-enforcement/jammers/[
^] and also the US and Australia have laws against it. Probably others do as well.
Can you do it legally in Ghana? Doubtful. Can you do it safely in Ghana? Probably not - I know a lot of people who would consider it a punching offence to disable their phone or internet access...
Consider googling for "phone jammer" locally, and see what you get.