fix: function name typo
diff --git a/ciphers/rsa_cipher.py b/ciphers/rsa_cipher.py
index 3bc2ebe5fc74..ac9782a49fff 100644
--- a/ciphers/rsa_cipher.py
+++ b/ciphers/rsa_cipher.py
@@ -102,8 +102,7 @@ def read_from_file_and_decrypt(message_filename: str, key_filename: str) -> str:
         sys.exit(
             f"ERROR: Block size is {block_size * 8} bits and key size is {key_size} "
             "bits. The RSA cipher requires the block size to be equal to or greater "
-            "than the key size. Did you specify the correct key file and encrypted "
-            "file?"
+            "than the key size. Were the correct key file and encrypted file specified?"
         )
 
     encrypted_blocks = []
diff --git a/machine_learning/astar.py b/machine_learning/astar.py
index 7a60ed225a2d..ff5208266343 100644
--- a/machine_learning/astar.py
+++ b/machine_learning/astar.py
@@ -57,7 +57,7 @@ def __init__(self, world_size=(5, 5)):
     def show(self):
         print(self.w)
 
-    def get_neigbours(self, cell):
+    def get_neighbours(self, cell):
         """
         Return the neighbours of cell
         """
@@ -110,7 +110,7 @@ def astar(world, start, goal):
         _closed.append(_open.pop(min_f))
         if current == goal:
             break
-        for n in world.get_neigbours(current):
+        for n in world.get_neighbours(current):
             for c in _closed:
                 if c == n:
                     continue

### Describe your change:



* [ ] Add an algorithm?
* [X] Fix a bug or typo in an existing algorithm?
* [ ] Add or change doctests? -- Note: Please avoid changing both code and tests in a single pull request.
* [ ] Documentation change?

### Checklist:
* [x] I have read [CONTRIBUTING.md](https://github.com/TheAlgorithms/Python/blob/master/CONTRIBUTING.md).
* [x] This pull request is all my own work -- I have not plagiarized.
* [x] I know that pull requests will not be merged if they fail the automated tests.
* [ ] This PR only changes one algorithm file.  To ease review, please open separate PRs for separate algorithms.
* [ ] All new Python files are placed inside an existing directory.
* [ ] All filenames are in all lowercase characters with no spaces or dashes.
* [ ] All functions and variable names follow Python naming conventions.
* [ ] All function parameters and return values are annotated with Python [type hints](https://docs.python.org/3/library/typing.html).
* [ ] All functions have [doctests](https://docs.python.org/3/library/doctest.html) that pass the automated testing.
* [ ] All new algorithms include at least one URL that points to Wikipedia or another similar explanation.
* [ ] If this pull request resolves one or more open issues then the description above includes the issue number(s) with a [closing keyword](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue): "Fixes #ISSUE-NUMBER".
